Skip to content

fix(agent): repair text-only explicit-mutation stalls#128

Merged
davidrhodus merged 1 commit into
mainfrom
fix/expected-mutation-no-change-cascade
Jul 21, 2026
Merged

fix(agent): repair text-only explicit-mutation stalls#128
davidrhodus merged 1 commit into
mainfrom
fix/expected-mutation-no-change-cascade

Conversation

@davidrhodus

Copy link
Copy Markdown
Contributor

Summary

  • Ordinary explicit-mutation prompts (fix …) set expected_mutation but skipped the text-only no-change cascade, so a prose diagnosis printed verification skipped — no files changed and ended incomplete · stalled without forcing an edit.
  • Run the NoChanges gate for finished text-only expected-mutation turns (2 edit nudges, then stall if still no mutation); keep scaffold/validation implementation-intent-only.
  • Ignore bare infinitives like wait … to finish so wait-poll turns are not expected_mutation; update scripted fixtures for the extra repair rounds.

Test plan

  • cargo test --manifest-path crates/hi-agent/Cargo.toml --quiet (642 passed)
  • New outcome tests: text-only fix gets repair then lands write; exhausted cascade stalls mid-loop
  • Cascade unit coverage for expected_mutation / unfinished / tool-using cases

Ordinary "fix …" turns set expected_mutation but skipped the text-only
no-change cascade, so a prose diagnosis ended as incomplete · stalled with
verification skipped. Run NoChanges repair for finished text-only expected
mutation turns; keep scaffold/validation implementation-only; ignore bare
"to finish" infinitives; update scripted fixtures for the extra rounds.
@davidrhodus
davidrhodus merged commit b9649ef into main Jul 21, 2026
1 check failed
@davidrhodus
davidrhodus deleted the fix/expected-mutation-no-change-cascade branch July 21, 2026 01:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant